<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>转圈</title>
    <style>
        div{
            width:100px;
            height:100px;
            background:red;
            position:relative;
            animation:myfirst 5s infinite;
            text-align: center;
            line-height: 100px;
            color: white;
        }
        @keyframes myfirst{
            0%   {background:red; left:0; top:0;}
            12.5%{background:purple; left:0; top:100px;}
            25%  {background:yellow; left:0; top:200px;}
            37.5%{background:black; left:100px; top:200px;}
            50%  {background:blue; left:200px; top:200px;}
            62.5%{background:cadetblue; left:200px; top:100px;}
            75%  {background:green; left:200px; top:0;}
            87.5%{background:darkgray; left:100px; top:0;}
            100% {background:red; left:0; top:0;}
        }
    </style>
</head>
<body>
<div>马建蕾</div>
</body>
</html>